package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingProjectDto;
import com.zzyl.entity.NursingProject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zzyl.vo.NursingProjectVO;

import java.util.List;

/**
* @author 20843
* @description 针对表【nursing_project(护理项目表)】的数据库操作Service
* @createDate 2024-05-07 17:16:04
*/

public interface NursingProjectService extends IService<NursingProject> {

    PageResponse<NursingProjectVO> getPage(String name, Integer status, Integer pageNum, Integer pageSize);

    int addNursingProject(NursingProjectDto nursingProjectDto);

    int updateNursingProject(NursingProjectDto nursingProjectDto);

    NursingProjectVO getNursingProjectById(Long id);

    int deleteNursingProject(Long id);

    int updateStatus(Long id, Integer status);

    List<NursingProjectVO> getNursingProjectList();
}
